# -*- coding:utf-8 -*-
"""
@file: db_config.py
@time: 2019/12/18 10:26
@author: ljt
descript:数据库连接配置
"""


class DBConfig(object):
    """数据库连接配置"""

    class PGDWConfig(object):
        """ mysql配置信息  """
        HOST = "180.76.159.157"  # 主机地址
        PORT = 5433  # 端口号
        USER = "yxl"
        PASSWD = "123456"
        DB = "postgre"
        CHARSET = "utf8"
        DB_ENGINE_STR = "postgresql://{user}:{pwd}@{host}:{port}/{dbname}".format(
            user=USER, pwd=PASSWD, host=HOST, port=PORT, dbname=DB, charset=CHARSET)
